package com.jbm.onehome.iface;

import com.jbm.core.iface.IAcross;

import javax.persistence.*;
import java.io.Serializable;

/**
 * Created by lyh on 17-1-17.
 */
@Entity
@Table(name = "trafficrstr", schema = "", catalog = "")
@org.hibernate.annotations.Entity(dynamicUpdate=true,dynamicInsert=true)
public class ITrafficRstr extends IAcross  implements Serializable
{
	public ITrafficRstr()
	{
		super();
	}

	public ITrafficRstr(IAcross ia)
	{
		super(ia);
	}

    private static final long serialVersionUID = -3477027985623144960L;


    @Id
    @Column(name = "id")
    @GeneratedValue
    public Integer id;
    @Basic
    @Column(name = "date")
    public String  date;  //日期
    @Basic
    @Column(name = "cityname")
    public String cityname;  //城市
    @Basic
    @Column(name = "week")
    public String week;   //星期几

    @Basic
    @Column(name = "type")
    public String type;   //限行类型

    @Basic
    @Column(name = "time")
    public String time;   //限行时间
    @Basic
    @Column(name = "number")
    public String number;  //限行尾号


    @Transient
    public boolean back;
    @Transient
    public String method;
    @Transient
    public String errorinfo;
    @Transient
    public int count;
    @Transient
    public int start=0;
    @Transient
    public int pagesize=0;
    @Transient
    public Integer tableid;

}
